package com.dykj.fireFighting.api.monitoringCenter.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * @Description 精准治理——项目表
 * @Author JacksonTu
 * @Date  2022-04-14 16:05:23
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "精准治理——项目表")
@TableName("government_project")
public class GovernmentProject extends Model<GovernmentProject> {
	private static final long serialVersionUID = 1L;

	@TableId
	private String id;
	@TableField("center_id")
	private String centerId;
	@TableField("is_del")
	private Integer isDel;
	@TableField("create_by")
	private String createBy;
	@TableField("create_time")
	private Date createTime;
	@TableField("update_by")
	private String updateBy;
	@TableField("update_time")
	private Date updateTime;
	/**
	 * 项目名称
	 */
    @ApiModelProperty(value = "项目名称")
	private String name;
	/**
	 * 开始时间
	 */
    @ApiModelProperty(value = "开始时间")
	@TableField("begin_time")
	@JsonFormat(pattern="yyyy-MM-dd")
	private Date beginTime;
	/**
	 * 结束时间
	 */
    @ApiModelProperty(value = "结束时间")
	@TableField("end_time")
	@JsonFormat(pattern="yyyy-MM-dd")
	private Date endTime;
	/**
	 * 状态 0进行中  1已结束
	 */
    @ApiModelProperty(value = "状态 0进行中  1已结束")
	private Integer status;
	private String content;

}
